Ext.define('Fxt.lbc-account.view.Grid', {
    extend: 'Fxt.core.view.Grid',
    model: 'Fxt.lbc-account.Model',
    $selModel: 'MULTI',
    $audit: false,
    $newStore: function () {
        return Ext.create('Fxt.lbc-account.Store')
    },
    tbar: [{
        xtype: 'splitbutton',
        text: '新增一个邀请',
        action: 'new-register',
        menu: []
    },{
        text: '同步邀请码',
        action: 'sync-invite-code'
    },{
        text: '实名认证',
        action: 'auth-id'
    },{
        text: '同步矿机',
        action: 'sync-kj'
    },{
        text: '同步算力',
        action: 'sync-cp-value'
    },{
        text: '同步账号',
        action: 'sync-account'
    },{
        text: '收矿',
        action: 'profit'
    },{
        text: '新建交易',
        action: 'new-jy'
    },{
        text: '抽奖',
        action: 'lottery'
    }],
    columns: [{
        text: 'mobile',
        dataIndex: 'mobile'
    }, {
        text: 'PCode',
        dataIndex: 'promotionCode'
    }, {
        text: 'ICode',
        dataIndex: 'inviteCode'
    }, {
        text: 'idStatus',
        dataIndex: 'idStatus'
    }, {
        text: 'DC',
        dataIndex: 'directRCount'
    }, {
        text: 'TC',
        dataIndex: 'teamCount'
    }, {
        text: 'DP',
        dataIndex: 'depth'
    }, {
        text: 'SL',
        dataIndex: 'startLevel'
    }, {
        text: 'profitTime',
        dataIndex: 'profitTime'
    }, {
        text: 'profitResStatus',
        dataIndex: 'profitResStatus'
    }, {
        text: 'gold',
        dataIndex: 'goldAccount'
    }, {
        text: 'silver',
        dataIndex: 'silverAccount'
    }, {
        text: 'CPValue',
        dataIndex: 'cpValue'
    }, {
        text: 'insertTime',
        dataIndex: 'insertTime'
    }, {
        text: 'tokenTime',
        dataIndex: 'tokenTime'
    }]
});